package com.lagou.dao;

import com.lagou.domain.Employee;
import com.lagou.domain.dept;

import java.util.List;

public interface EmployeeDao {
    //查找所有职员
    public List<Employee> findAll();
    //新增职员
    public void save(Employee employee);
    //根据id查找职员
    public Employee findById(Integer id);
    //查找所有部门
    public List<dept> findDept();
}
